package com.example.xpvideo.service;

import com.example.xpvideo.entity.LsUser;
import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.req.UserListReq;
import com.example.xpvideo.entity.res.PhpUserRes;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * (LsUser)Service层
 *
 * @author 杨丽辉
 * @since 2021-10-18 09:52:57
 */

public interface LsUserService {

    ResponseResult<PageResult<List<PhpUserRes>>> list(UserListReq userListReq) throws ErrorException;
    ResponseResult<PageResult<List<LsUser>>> SubordinateList(String account) throws ErrorException;
    ResponseResult<PageResult<List<LsUser>>> InSubordinateList(String account) throws ErrorException;
    ResponseResult<Object> updateStage(UpdateReq updateReq) throws ErrorException;

}




